TEMPLATE = app

QT += qml quickwidgets

TRANSLATIONS += cn.ts

SOURCES += \
    main.cpp \
    DesignModel.cpp \
    DesignBLL.cpp \
    ThreadObject.cpp

HEADERS += \
    DesignModel.h \
    DesignBLL.h \
    ThreadObject.h

RESOURCES += qml.qrc

RC_ICONS = logo.ico

win32 {
    SOURCES += \
        KeyLaunch.cpp \
        DD.cpp \
        KeyMonitor.cpp \
        KeyCapturer.cpp

    HEADERS += \
        KeyLaunch.h \
        DD.h \
        KeyMonitor.h \
        KeyCapturer.h

    LIBS += -lDbgHelp
}

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
